<template>
  <el-menu style="height: 100vh;"
           background-color="#545c64"
           text-color="#fff"
           active-text-color="#ffd04b"
           default-active="/Home"
           :collapse="isCollapse"
           :collapse-transition="false"
  >
    <el-menu-item index="/Home">
      <i class="el-icon-s-home"></i>
      <spann slot="title">首页</spann>
    </el-menu-item>

    <el-menu-item index="/One">
      <i class="el-icon-s-home"></i>
      <span slot="title">导航1</span>
    </el-menu-item>

    <el-menu-item index="/Two">
      <i class="el-icon-s-home"></i>
      <span slot="title">导航2</span>
    </el-menu-item>

    <el-menu-item index="/There">
      <i class="el-icon-s-home"></i>
      <span slot="title">导航三</span>
    </el-menu-item>
  </el-menu>
</template>

<script>
export default {
  name: "Aside",
  data(){
    return{
    //  isConllapse:false
    }
  },
  props:{
    isCollapse:Boolean
  }
}
</script>

<style scoped>

</style>